package com.ledi.guns.common.persistence.model;

import java.io.Serializable;

import lombok.Data;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 帮助中心类型关系表
 * </p>
 *
 * @author zhongxp
 * @since 2018-08-13
 */
@TableName("t_help_type")
@Data
public class HelpType extends Model<HelpType> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	 * 帮助中心id
	 */
	@TableField("help_id")
	private Long helpId;
	/**
	 * 类型id
	 */
	@TableField("type_id")
	private Long typeId;

	/**
	 * 是否常见
	 */
	@TableField("is_nomal")
	private Integer isNomal;

	@Override
	protected Serializable pkVal() {

		return id;
	}

}
